.space-home-wrap {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: calc(100% - 50px);
  // height: 100%;
  min-height: calc(100vh - 50px);
  background-image: url(@/assets/image/spacebg.webp), url(@/assets/image/spacebg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  .spaceBody {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-right: 0;
    transition: margin-right 0.8s; /* 添加过渡效果 */
    &.marginRight {
      margin-right: 568px;
      transition: margin-right 0.8s; /* 添加过渡效果 */
    }
    .space-container {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      width: 948px;
      .space-item {
        display: flex;
        flex-direction: column;
        width: 280px;
        height: 180px;
        margin: 16px 18px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 7px 20px 0px rgba(0, 0, 0, 0.02);
        cursor: pointer;
        &:hover {
          color: #fff;
          background: #397bff;
        }
        img {
          margin-top: 24px;
          margin-left: 27px;
        }
        .title {
          margin-top: 18px;
          margin-left: 27px;
          font-weight: 600;
          font-size: 18px;
        }
        .describe {
          margin-top: 11px;
          margin-left: 27px;
          // padding-right: 27px;
          font-size: 14px;
        }
      }
    }
    .space-bot {
      position: absolute;
      top: 0;
      right: 0;
      text-align: right;
      // display: none;
      // width: 531px;
      // height: 906px;
    }
  }
}

.newSpaceContainer {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  width: 1469px;
  margin: 0 auto;
  padding: 30px 0 20px;
  .newSpaceTop {
    position: relative;
    width: 100%;
    height: 254px;
    margin-bottom: 67px;
    background: rgba(242, 249, 255, 0.64);
    border-radius: 10px;
    backdrop-filter: blur(7px);
    .newSpaceTopAvatar {
      position: absolute;
      top: -15px;
      left: -15px;
      width: 60px;
      height: 60px;
      vertical-align: middle;
    }
    .welcomeBox {
      box-sizing: border-box;
      width: 100%;
      height: auto;
      padding-top: 30px;
      padding-bottom: 12px;
      .welcomeList {
        width: auto;
        height: auto;
        min-height: 48px;
        margin: 0px 40px 15px;
        padding: 17px 22px;
        color: #3e4352;
        font-weight: 400;
        font-size: 14px;
        font-family: PingFangSC, PingFang SC;
        line-height: 24px;
        background: #ffffff;
        border-radius: 0px 10px 10px 10px;
        .welcomeTitle {
          margin-bottom: 7px;
          color: #3e4352;
          font-weight: 600;
          font-size: 20px;
          font-family: PingFangSC, PingFang SC;
          line-height: 35px;
        }
        p {
          margin-bottom: 0;
        }
      }
    }
  }
  .newSpaceBottomLeft {
    width: 715px;
    height: 559px;
    background: rgba(242, 249, 255, 0.64);
    border-radius: 10px;
    backdrop-filter: blur(7px);
    .newSpaceBottomLeftTitle {
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      box-sizing: border-box;
      width: auto;
      margin: 27px 40px;
      .spaceTit {
        width: auto;
        height: 28px;
        margin: 0 20px 0 6px;
        color: #2f2f4d;
        font-weight: 600;
        font-size: 20px;
        font-family: PingFangSC, PingFang SC;
        line-height: 28px;
      }
      .spaceTitInfo {
        width: auto;
        height: 28px;
        color: rgba(47, 47, 77, 0.5);
        font-weight: 400;
        font-size: 20px;
        font-family: PingFangSC, PingFang SC;
        line-height: 28px;
      }
    }
    .spaceLinkBox {
      width: 100%;
      margin: 20px 40px;
      .spaceLinkList {
        display: inline-flex;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: center;
        justify-content: center;
        width: 309px;
        height: 416px;
        text-align: center;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 7px 20px 0px rgba(0, 0, 0, 0.02);
        cursor: pointer;
        &:nth-of-type(1) {
          margin-right: 17px;
        }
        .spaceLinkAvatar {
          position: relative;
          width: 100%;
          margin: 94px auto 0;
          &::after {
            position: absolute;
            bottom: -34px;
            left: 146px;
            display: block;
            width: 18px;
            height: 2px; /* 设置线的高度 */
            background-color: #9999ea; /* 设置线的颜色 */
            content: '';
          }
        }
        .spaceLinkTitle {
          width: 100%;
          height: 28px;
          margin-top: 71px;
          color: #2f2f4d;
          font-weight: 600;
          font-size: 20px;
          font-family: PingFangSC, PingFang SC;
          line-height: 28px;
        }
        .spaceLinkTip {
          width: 100%;
          height: 22px;
          margin: 14px auto 16px;
          color: #2f2f4d;
          font-weight: 400;
          font-size: 16px;
          font-family: PingFangSC, PingFang SC;
          line-height: 22px;
        }
        .spaceLinkTotal {
          width: 100%;
          height: 20px;
          color: rgba(47, 47, 77, 0.55);
          font-weight: 400;
          font-size: 14px;
          font-family: PingFangSC, PingFang SC;
          line-height: 20px;
        }
      }
    }
  }
  .newSpaceBottomRight {
    position: relative;
    flex: 1;
    height: 559px;
    margin-left: 33px;
    background-image: url(@/assets/image/departmentBG.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 10px;
    .newSpaceBottomRightTitle {
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      box-sizing: border-box;
      width: auto;
      margin: 27px 40px;
      .spaceTit {
        width: auto;
        height: 28px;
        margin: 0 20px 0 6px;
        color: #ffffff;
        font-weight: 600;
        font-size: 20px;
        font-family: PingFangSC, PingFang SC;
        line-height: 28px;
      }
      .spaceTitInfo {
        width: auto;
        height: 28px;
        color: rgba(255, 255, 255, 0.5);
        font-weight: 400;
        font-size: 20px;
        font-family: PingFangSC, PingFang SC;
        line-height: 28px;
      }
    }
    .departmentBox {
      position: relative;
      width: 100%;
      text-align: center;
      .departmentTitle {
        margin-top: 80px;
        color: #fff;
        font-size: 20px;
      }
      .departmentTip {
        margin-top: 50px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
        .departmentNum {
          margin: 0 10px;
          color: #2f509c;
        }
      }
      .departmentButton {
        display: inline-block;
        width: auto;
        margin-top: 60px;
        color: #ffffff;
        font-size: 20px;
        border-radius: 10px;
        cursor: pointer;
        img {
          width: 320px;
          height: auto;
        }
      }
    }
    .brainIcon {
      position: absolute;
      bottom: 20px;
      left: 50%;
      img {
        width: 50px;
        height: auto;
        margin-left: -25px;
        vertical-align: middle;
      }
    }
  }
}
//高度比较小时 调整间距
@media (max-height: 1000px) {
  .newSpaceTop {
    margin-bottom: 20px !important;
  }
  .newSpaceBottomLeft {
    // height: 559px !important;
    height: 499px !important;
  }
  .spaceLinkAvatar {
    margin: 64px auto 0 !important;
  }
  .spaceLinkList {
    // height: 370px;
    height: 396px !important;
  }
  .newSpaceBottomRight {
    height: 499px !important;
  }
}
@media (max-height: 880px) {
  .newSpaceTop {
    margin-bottom: 20px !important;
  }
  .newSpaceBottomLeft {
    // height: 559px !important;
    height: 419px !important;
  }
  .spaceLinkAvatar {
    margin: 24px auto 0 !important;
  }
  .spaceLinkList {
    // height: 370px;
    height: 316px !important;
  }
  .newSpaceBottomRight {
    height: 419px !important;
  }
}
